home *** CD-ROM | disk | FTP | other *** search
- spider
-
- spider lets you weave your web pages in HyperCard.
- You create special, simple stacks in HyperCard
- and then convert them to web pages.
-
- The spider turns each card of the stack into a html file
- with a clickable map and an associated gif or jpeg image.
-
- spider requires HyperCard 2.3 or later, the truePrint stack,
- AppleScript, and the freeware program clip2gif by Yves Piguet.
-
- If you have HyperCard 2.1, just use it for creating the stack
- and use HyperCard Player 2.3 or later (available free from Apple
- on the internet) to generate the web pages.
-
- spider includes a converter from styled text to html.
- It converts some special characters to html and recognizes
- bold and italic text. It is very slow, but was good enough
- for converting "read me" files like these.
-
-
- How it works
-
- The spider goes from card to card and does the following
- on each card:
-
- First it sends mouseUp messages to all buttons
- and fields to find out where they lead to.
-
- Then the spider uses this information to generate
- a html file and a map file containing the links.
- (Both client and server side image maps are created).
-
- Finally it converts the card picture to a jpeg or a gif file
- (using AppleScript and the freeware program clip2gif).
-
-
- How to use it
-
- Create a stack...
-
- Links within the stack are like that (script of buttons and fields):
-
- mouseUp
- go next card
- end mouseUp
-
- Links to other web sites, e-mail, etc. are like that:
-
- on mouseUp
- return "http://www.mirror.apple.com"
- end mouseUp
-
- Give your cards names; these will be used as filenames
- (spaces will be omitted).
-
- By default an interlaced gif file is generated.
- If you want to generate another graphic file,
- put one of the following into the first line of the card script:
-
- -- gif noninterlaced
-
- -- jpeg very low
- -- jpeg low
- -- jpeg normal
- -- jpeg high
- -- jpeg very high
-
- The options for the jpeg's denote the resulting image quality.
-
-
- When you are finished, open the spider stack.
- This will make sure that the stack is "in use" so that
- the control key combinations for weaving will work.
-
- You can set the format for the text files that the
- spider creates: Mac, Unix or DOS.
-
- Then go back to your stack and press ctrl-opt-w to start
- weaving the stack. (you can stop the conversion anytime by
- pressing the mouse down.)
-
- The spider will create a folder that has the name of your stack
- with "ƒ" appended to it and place all the created files into it.
-
- If you change a card later on, you can convert it
- by pressing ctrl-w.
-